import fire


def ky_receiver():
    from receiver.ky import KYReceiver
    ky_receiver = KYReceiver()
    ky_receiver.run()


def xz_receiver():
    from receiver.xz import run as xz_run
    xz_run()


if __name__ == '__main__':
    fire.Fire({
        'xz-receiver': xz_receiver,
        'ky-receiver': ky_receiver,
    })
